Release 10.1A: OpenEdge Development:
.NET Open Clients


Arrays as parameters

The Progress 4GL allows arrays (called EXTENTs in the 4GL) to be passed as run-time parameters, using the same data type mapping as shown in Table 4–1.

The size of an array is not part of its definition in .NET, so the EXTENT value is not reflected in the .NET proxy’s parameter definition. If the extent of the data passed by the client does not match the extent of the parameter declaration of the 4GL procedure, the proxy returns an error to the client at runtime.

Note: Arrays defined with EXTENT 0 are treated as scalars (consistent with the 4GL). The proxy will contain a scalar for the parameter, and not an array.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095